/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.seari.bean;

import io.netty.channel.Channel;

/**
 *
 * @author Rainbow
 */
public abstract class BaseClient
{
    public String host;
    public int port;
    public Channel channel;
    
    //设置 建立
    public abstract void setup()throws Exception;
    // 清零
    public abstract void reset()throws Exception;

    public String getHost()
    {
        return host;
    }

    public void setHost(String host)
    {
        this.host = host;
    }

    public int getPort()
    {
        return port;
    }

    public void setPort(int port)
    {
        this.port = port;
    }

    public Channel getChannel()
    {
        return channel;
    }

    public void setChannel(Channel channel)
    {
        this.channel = channel;
    }
}
